import request from "@/utils/axios";
export function upload(data) {
    return request({
        path: "/node/Recipe/upload",
        data,
    });
}
//ImgFoodParse
export function getImgFoodParseConfig(data) {
    return request({
        path: "/node/Recipe/getImgFoodParseConfig",
        data,
    });
}
export function updateImgFoodParseConfig(data) {
    return request({
        path: "/node/Recipe/updateImgFoodParseConfig",
        data,
    });
}
export function updateImgFoodParseConfigHandel(data) {
    return request({
        path: "/node/Recipe/updateImgFoodParseConfigHandel",
        data,
    });
}
export function getImgFoodParseVersionList(data) {
    return request({
        path: "/node/Recipe/getImgFoodParseVersionList",
        data,
    });
} 
export function addImgFoodParseVersion(data) {
    return request({
        path: "/node/Recipe/addImgFoodParseVersion",
        data,
    });
}
export function deleteHandelImgFoodParse(data) {
    return request({
        path: "/node/Recipe/deleteHandelImgFoodParse",
        data,
    });
}
export function batchDeleteHandelImgFoodParse(data) {
    return request({
        path: "/node/Recipe/batchDeleteHandelImgFoodParse",
        data,
    });
}
export function getImgFoodParseApiLog(data) {
    return request({
        path: "/node/Recipe/getImgFoodParseApiLog",
        data,
    });
}


//FoodGen
export function getFoodGenConfig(data) {
    return request({
        path: "/node/Recipe/getFoodGenConfig",
        data,
    });
}
export function updateFoodGenConfig(data) {
    return request({
        path: "/node/Recipe/updateFoodGenConfig",
        data,
    });
}
export function updateFoodGenConfigHandel(data) {
    return request({
        path: "/node/Recipe/updateFoodGenConfigHandel",
        data,
    });
}
export function getFoodGenVersionList(data) {
    return request({
        path: "/node/Recipe/getFoodGenVersionList",
        data,
    });
}
export function addFoodGenVersion(data) {
    return request({
        path: "/node/Recipe/addFoodGenVersion",
        data,
    });
}
export function deleteHandelFoodGen(data) {
    return request({
        path: "/node/Recipe/deleteHandelFoodGen",
        data,
    });
}
export function batchDeleteHandelFoodGen(data) {
    return request({
        path: "/node/Recipe/batchDeleteHandelFoodGen",
        data,
    });
}
export function getFoodGenApiLog(data) {
    return request({
        path: "/node/Recipe/getFoodGenApiLog",
        data,
    });
}
 
//ImgRecipe
export function getImgRecipeConfig(data) {
    return request({
        path: "/node/Recipe/getImgRecipeConfig",
        data,
    });
}
export function updateImgRecipeConfig(data) {
    return request({
        path: "/node/Recipe/updateImgRecipeConfig",
        data,
    });
}
export function updateImgRecipeConfigHandel(data) {
    return request({
        path: "/node/Recipe/updateImgRecipeConfigHandel",
        data,
    });
}
export function getImgRecipeVersionList(data) {
    return request({
        path: "/node/Recipe/getImgRecipeVersionList",
        data,
    });
}
export function addImgRecipeVersion(data) {
    return request({
        path: "/node/Recipe/addImgRecipeVersion",
        data,
    });
}
export function deleteHandelImgRecipe(data) {
    return request({
        path: "/node/Recipe/deleteHandelImgRecipe",
        data,
    });
}
export function batchDeleteHandelImgRecipe(data) {
    return request({
        path: "/node/Recipe/batchDeleteHandelImgRecipe",
        data,
    });
}
export function getImgRecipeApiLog(data) {
    return request({
        path: "/node/Recipe/getImgRecipeApiLog",
        data,
    });
}

//DailyPersonal
export function getDailyPersonalConfig(data) {
    return request({
        path: "/node/Recipe/getDailyPersonalConfig",
        data,
    });
}
export function updateDailyPersonalConfig(data) {
    return request({
        path: "/node/Recipe/updateDailyPersonalConfig",
        data,
    });
}
export function updateDailyPersonalConfigHandel(data) {
    return request({
        path: "/node/Recipe/updateDailyPersonalConfigHandel",
        data,
    });
}
export function getDailyPersonalVersionList(data) {
    return request({
        path: "/node/Recipe/getDailyPersonalVersionList",
        data,
    });
}
export function addDailyPersonalVersion(data) {
    return request({
        path: "/node/Recipe/addDailyPersonalVersion",
        data,
    });
}
export function deleteHandelDailyPersonal(data) {
    return request({
        path: "/node/Recipe/deleteHandelDailyPersonal",
        data,
    });
}
export function batchDeleteHandelDailyPersonal(data) {
    return request({
        path: "/node/Recipe/batchDeleteHandelDailyPersonal",
        data,
    });
}
export function getDailyPersonalApiLog(data) {
    return request({
        path: "/node/Recipe/getDailyPersonalApiLog",
        data,
    });
}


//generations
export function getGenerationsConfig(data) {
    return request({
        path: "/node/Recipe/getGenerationsConfig",
        data,
    });
}
export function updateGenerationsConfig(data) {
    return request({
        path: "/node/Recipe/updateGenerationsConfig",
        data,
    });
}
export function updateGenerationsConfigHandel(data) {
    return request({
        path: "/node/Recipe/updateGenerationsConfigHandel",
        data,
    });
}
export function getGenerationsVersionList(data) {
    return request({
        path: "/node/Recipe/getGenerationsVersionList",
        data,
    });
}
export function addGenerationsVersion(data) {
    return request({
        path: "/node/Recipe/addGenerationsVersion",
        data,
    });
}